package com.aspose.cells;

class zrt {
   zbqa a;
   zbqa b;
   zbqa c;
   zbqa d;

   int a(Shape var1) {
      int var2 = zase.C(this.a.a);
      if (var2 == 0) {
         return 0;
      } else {
         zqm var3 = var1.L().n().c;
         if (var3 != null && var3.g != null && var2 <= var3.a().size()) {
            Line var4 = (Line)var3.a().get(var2 - 1);
            if (var4.j()) {
               return var4.c;
            }
         }

         if (var2 == 0) {
            return 0;
         } else {
            return var2 > 1 ? 25400 : 9525;
         }
      }
   }

   zrt(int var1) {
      switch(var1) {
      case 19:
      case 20:
      case 32:
      case 85:
      case 86:
      case 87:
      case 88:
      case 185:
      case 186:
         this.a = new zbqa("1");
         this.a.b.a(4, 4);
         this.c = new zbqa("0");
         this.c.b.a(4, 4);
         this.d = new zbqa("0");
         this.d.b.a(4, 4);
         this.b = new zbqa("minor");
         this.b.b.a(4, 1);
         break;
      default:
         this.a = new zbqa("2");
         this.a.b.a(4, 4);
         this.a.b.j().a(new zkf(1, 50000));
         this.c = new zbqa("1");
         this.c.b.a(4, 4);
         this.d = new zbqa("0");
         this.d.b.a(4, 4);
         this.b = new zbqa("minor");
         this.b.b.a(4, 1);
      }

   }

   void a(zrt var1) {
      this.a.a(var1.a);
      this.b.a(var1.b);
      this.c.a(var1.c);
      this.d.a(var1.d);
   }
}
